// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import axios from 'axios'
import "./request/axios"
import 'default-passive-events'
import router from './router/index.js'

Vue.config.productionTip = false
Vue.prototype.$axios = axios

const app = new Vue({
    router,
    render: h => h(App)
})
app.$mount('#app')
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App'

export function createApp() {
    const app = createSSRApp(App)
    return { app }
}
// #endif